@import '~antd/lib/style/themes/default.less';

.textOverflow() {
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: nowrap;
}

.textOverflowMulti(@line: 3, @bg: #fff) {
  overflow: hidden;
  position: relative;
  line-height: 1.5em;
  max-height: @line * 1.5em;
  text-align: justify;
  margin-right: -1em;
  padding-right: 1em;
  &:before {
    background: @bg;
    content: '...';
    padding: 0 1px;
    position: absolute;
    right: 14px;
    bottom: 0;
  }
  &:after {
    background: white;
    content: '';
    margin-top: 0.2em;
    position: absolute;
    right: 14px;
    width: 1em;
    height: 1em;
  }
}
.red {
  color: 'red';
}
.warp {
  border: 1px solid #e8e8e8;
  .header {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    height: 60px;
    padding-top: 10px;
    background-color: #fff;
    .icon {
      margin-left: 4px;
      font-size: 12px;
      color: #08c;
      cursor: pointer;
    }
    input {
      width: 100px;
    }
    a {
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
    }
  }
}

.titleEdit {
  position: absolute;
  right: 40px;
  top: 30px;
  cursor: pointer;
  font-size: 14px;
  color: '#08c';
}
// mixins for clearfix
// ------------------------
.clearfix() {
  zoom: 1;
  &:before,
  &:after {
    content: ' ';
    display: table;
  }
  &:after {
    clear: both;
    visibility: hidden;
    font-size: 0;
    height: 0;
  }
}

//表格查询
.tableList {
  .tableListOperator {
    margin-bottom: 16px;
    button {
      margin-right: 8px;
    }
  }
}

.tableListForm {
  :global {
    .ant-form-item {
      margin-bottom: 24px;
      margin-right: 0;
      display: flex;
      > .ant-form-item-label {
        // width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    display: block;
    white-space: nowrap;
    margin-bottom: 24px;
  }
}
.inputStyle {
  :global {
    .ant-legacy-form-item-control {
      margin-top: 0px;
    }
  }
}
.listBtn {
  margin-right: 8px;
}
.iconStyle {
  font-size: 12px;
}
.antAnchorDefaultBg {
  :global {
    margin-bottom: -8px;
    .ant-anchor .ant-anchor-ink .ant-anchor-ink-ball {
      background-color: #f0f2f5 !important;
    }
  }
}
.alertBg {
  :global {
    .ant-alert-info {
      background-color: #f0f2f5;
      border: 1px solid #eaeaea;
    }
    .ant-alert-info .ant-alert-icon {
      color: #999;
    }
  }
}
// 综合查询  搜索框 cs
.searchManageBox {
  :global {
    .ant-select-lg .ant-select-selection--single {
      border-right: 0;
    }
    .ant-select-auto-complete.ant-select-lg .ant-input {
      border-radius: 0;
    }
  }
}
// 综合查询  搜索框 ns
.searchManageSelect {
  :global {
    .ant-select-selection--single {
      border-radius: 0 4px 4px 0;
    }
  }
}
// 客户管理 附件
.annexStyle {
  :global {
    .ant-col {
      width: auto;
    }
    .ant-row {
      width: auto;
    }
  }
}
// 单立户管理企业工伤比例
.singleManage {
  :global {
    .antd-pro-components-standard-table-index-standardTable {
      width: 100%;
    }
  }
}
// 增员任务基本信息
.addInfoStyle {
  :global {
    .ant-legacy-form-item-label {
      text-align: left;
    }
  }
}
// 增员任务修改
.addempUpdateStyle {
  :global {
    .ant-col {
      width: auto;
    }
    .ant-legacy-form-item-control {
      line-height: 32px;
    }
  }
}

// 调整任务修改
.addempUpdateStyle1 {
  margin-left: -60px;
  :global {
    .ant-col {
      width: auto;
    }
    .ant-legacy-form-item-control {
      line-height: 32px;
    }
    .ant-legacy-form-item-label{
      width: 180px;
    }
  }
}
// 增员任务修改 办理备注模块
.addempRemark {
  :global {
    .ant-legacy-form-item-control-wrapper {
      width: 100%;
    }
  }
}
// 增员任务 收费信息 产品分项设置
.pdSet {
  :global {
    .ant-legacy-form-item-control-wrapper {
      margin-top: 5px;
    }
  }
}
// 减员任务 批量减员
.batchStyle {
  :global {
    .ant-legacy-form-item-control-wrapper {
      margin-top: 4px;
    }
  }
}
// 报价单管理
.quotationStyle {
  :global {
    .ant-legacy-form-item-control-wrapper {
      margin-top: 5px;
    }
    .ant-row {
      width: auto;
    }
  }
}
// 客服服务配置
.serConStyle {
  :global {
    .ant-legacy-form-item-label {
      float: left;
    }
    .ant-legacy-form-item-control-wrapper {
      float: left;
    }
    .ant-col {
      width: auto;
      float: left;
    }
  }
}
// 客服调整任务
.adjustInfo {
  :global {
    .ant-col {
      width: auto;
    }
    .ant-legacy-form-item-control-wrapper {
      margin-top: 4px;
    }
  }
}
// 全国付费账单列表表格
.table {
  :global {
    .antd-pro-components-standard-table-index-standardTable {
      width: 100%;
    }
  }
}
// 全国一次性收费查询条件
.onceChargeSearch {
  :global {
    .ant-row {
      width: auto;
    }
    .antd-pro-utils-utils-searchCard {
      width: 100%;
    }
  }
}
// 全国的收费账单info提示信息
.infoStyle {
  :global {
    .ant-table-title {
      padding: 16px 0;
    }
  }
}
// 社保，公积金实缴查询
.insaccuStyle {
  :global {
    .ant-timeline {
      width: 100%;
    }
  }
}

@media screen and (max-width: @screen-lg) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 24px;
  }
}

@media screen and (max-width: @screen-md) {
  .tableListForm :global(.ant-form-item) {
    margin-right: 8px;
  }
}
// //表单验证信息提示
.errorMsg {
  :global {
    .has-error .ant-form-explain,
    .has-error .ant-form-split {
      position: absolute;
    }
    .errorMsgRight {
      right: 0;
    }
  }
}
.rowPadding {
  :global {
    .ant-table-tbody > tr > td {
      padding-bottom: 0;
    }
  }
}
.invRowPadding {
  :global {
    .ant-table-tbody > tr > td {
      padding: 0;
    }
  }
}

//ui 边距
.searchCard {
  :global {
    margin-bottom: 16px;
    border: none;
    & .ant-card-body {
      padding-bottom: 0;
    }
  }
}
.tableCard {
  :global {
    border: none;
    & .ant-card-body {
      padding: 16px 16px 0;
    }
  }
}
.tabCard {
  :global {
    border: none;
    & .ant-card-body {
      padding: 4px 16px 0;
    }
  }
}
//社保增员
.hide {
  display: none;
}
.show {
  display: show;
}
.cardFar {
  margin-bottom: 16px;
}
// 结果页码
.resultInfo {
  line-height: 22px;
  :global {
    .ant-row:not(:last-child) {
      margin-bottom: 24px;
    }
  }
  .label {
    color: @heading-color;
    text-align: right;
    padding-right: 8px;
    @media screen and (max-width: @screen-sm) {
      text-align: left;
    }
  }
  .result {
    margin: 0 auto;
    max-width: 560px;
    padding: 24px 0 8px;
  }

  .desc {
    padding: 0 56px;
    color: @text-color-secondary;
    h3 {
      font-size: 16px;
      margin: 0 0 12px 0;
      color: @text-color-secondary;
      line-height: 32px;
    }
    h4 {
      margin: 0 0 4px 0;
      color: @text-color-secondary;
      font-size: 14px;
      line-height: 22px;
    }
    p {
      margin-top: 0;
      margin-bottom: 12px;
      line-height: 22px;
    }
  }
}
//如某险种不参与申报，可不勾选对应险种。
@media screen and (min-width: 1367px) and (max-width: 1920px) {
  .errorMsg {
    :global {
      .has-error .ant-form-explain,
      .has-error .ant-form-split {
        position: absolute;
      }
      .errorMsgRight {
        right: 0;
      }
    }
    width: 80%;
  }
  .warnInfo {
    position: absolute;
    right: -25px;
    top: 115px;
    color: #999;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1280px) {
  .errorMsg {
    :global {
      .has-error .ant-form-explain,
      .has-error .ant-form-split {
        position: absolute;
      }
      .errorMsgRight {
        right: 0;
      }
    }
    width: 70%;
  }
  .warnInfo {
    position: absolute;
    right: -25px;
    top: 142px;
    color: #999;
  }
}

// 批量调整：cardList
.cardList {
  margin-bottom: -24px;

  .card {
    :global {
      .ant-card-meta-title {
        margin-bottom: 12px;
        & > a {
          color: @heading-color;
          display: inline-block;
          max-width: 100%;
        }
      }
      .ant-card-actions {
        background: #f7f9fa;
      }
      .ant-card-body:hover {
        .ant-card-meta-title > a {
          color: @primary-color;
        }
      }
    }
  }
  .item {
    height: 64px;
  }

  :global {
    .ant-list .ant-list-item-content-single {
      max-width: 100%;
    }
  }
}

.extraImg {
  margin-top: -60px;
  text-align: center;
  width: 195px;
  img {
    width: 100%;
  }
}

.newButton {
  background-color: #fff;
  border-color: @border-color-base;
  border-radius: @border-radius-sm;
  color: @text-color-secondary;
  width: 100%;
  height: 188px;
}

.cardAvatar {
  width: 48px;
  height: 48px;
  border-radius: 48px;
}

.cardDescription {
  .textOverflowMulti();
}

.pageHeaderContent {
  position: relative;
}

.contentLink {
  margin-top: 16px;
  a {
    margin-right: 32px;
    img {
      width: 24px;
    }
  }
  img {
    vertical-align: middle;
    margin-right: 8px;
  }
}

@media screen and (max-width: @screen-lg) {
  .contentLink {
    a {
      margin-right: 16px;
    }
  }
}
@media screen and (max-width: @screen-md) {
  .extraImg {
    display: none;
  }
}

@media screen and (max-width: @screen-sm) {
  .pageHeaderContent {
    padding-bottom: 30px;
  }
  .contentLink {
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 1000px;
    a {
      margin-right: 16px;
    }
    img {
      margin-right: 4px;
    }
  }
}

.tabSelect {
  display: flex;
  align-items: center;
  margin-left: -10px;
  height: 48px;
  :global {
    .ant-legacy-form-item {
      margin-bottom: 12px;
      margin-top: -4px;
    }
  }
}

.setTree {
  width: 274px;
  overflow: scroll;
  overflow-x: hidden;
  padding: 24px 16px 0;
  box-sizing: border-box;
  :global {
    .ant-tree-title {
      display: inline-block;
      width: 190px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }
    .ant-tree-child-tree {
      .ant-tree-title {
        display: inline-block;
        width: 150px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }
}

.policysetTrees {
  width: 204px;
  overflow: scroll;
  overflow-x: hidden;
  box-sizing: border-box;
  :global {
    .ant-tree-title {
      display: inline-block;
      width: 100px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }
    .ant-tree-child-tree {
      .ant-tree-title {
        display: inline-block;
        width: 80px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }
  }
}

.tablebutton{
  :global {
    .antd-pro-components-standard-table-index-standardTable .ant-table-pagination {
      margin-right: 60px;
    }
  }
}

.triangle {
  position: relative;
  color: red;
  &::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 16px solid;
    border-left-color: transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #fafafa;
    position: absolute;
    left: 170px;
    top: -26px;
  }
}
.setSider {
  :global {
    .ant-layout-sider {
      min-width: 274px !important;
    }
  }
}

.contentBody {
  width: 100%;
  margin-left: 12px;
  :global {
    .ant-layout-content {
      background: #fff;
      padding: 16px 16px;
    }
  }
}

// 平台业务参数客服账单参数设置
.csBillSetting {
  :global {
    .ant-legacy-form-item-required {
      display: flex;
      align-items: center;
      & > span {
        flex: 1;
      }
    }
  }
}

// 产品定价
.productPrice {
  :global {
    .ant-col {
      width: auto;
    }
  }
}

// 角色管理 业务参数设置
.controlWrapper {
  :global {
    .ant-legacy-form-item-control-wrapper {
      margin-top: 5px;
    }
  }
}
.paramSetError {
  :global {
    .has-error .ant-legacy-form-explain,
    .has-error .ant-legacy-form-split {
      width: 88px;
    }
  }
}
.rowSelectionDisabled {
  border: 1px solid #DDD;
  background-color: #F5F5F5;
  color: #ACA899;
}

// 员工综合查询
@media screen and (max-width: 1455px) {
  .flexOver {
    :global {
      .ant-row-flex {
        flex-wrap: nowrap;
      }
    }
  }
}
@media screen and (min-width: 1456px) {
  .flexOver {
    :global {
      .ant-row-flex {
        justify-content: space-around;
      }
    }
  }
}

// 服务办理新增
.stepsAction {
  :global {
    .ant-row {
      align-items: initial;
    }
    .ant-col {
      width: auto;
    }
    .ant-legacy-form-inline .ant-legacy-form-item {
      margin-bottom: 0;
    }
    .ant-legacy-form-item-control-wrapper {
      margin-top: 0px;
    }
    .ant-legacy-form-item-control-wrapper.ant-col-sm-16 {
      margin-top: 0px;
    }
  }
}

//一次性收费弹出框样式
.labelStyle {
  :global {
    .ant-legacy-form-item-label {
      text-align: left !important;
    }
  }
}

.labelStyleRight {
  :global {
    .ant-legacy-form-item-label{
      width: 180px;
    }
  }
}
